package com.chefu.admin.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author goodgoodstudy
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_part_provider")
@ApiModel(value="PartProvider对象", description="")
public class PartProvider implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "配件商id")
    @TableId(value = "pp_id", type = IdType.ID_WORKER)
    private Long ppId;

    @ApiModelProperty(value = "省市区id")
    private Long areaId;

    @ApiModelProperty(value = "配件商全称")
    private String fullName;

    @ApiModelProperty(value = "配件商简称")
    private String shortName;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系人电话")
    private String phone;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "相关证件照，多个图片逗号分割")
    private String images;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "状态（锁定0正常1）")
    private Integer status;

    @ApiModelProperty(value = "来源")
    private String tOrigin;


}
